/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Controller;

import Core.CoreManager;
import DataAccess.DocGia;
import DataAccess.Sach;
import DataAccess.TmpTaoPhieuMuon;
import java.util.List;
import java.util.Vector;
import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;

/**
 *
 * @author My PC
 */
public class tmpTaoPhieuMuonController extends CoreManager<TmpTaoPhieuMuon> {
    TacGiaController tgControl=new TacGiaController();
    NhaXuatBanController nxbControl=new NhaXuatBanController();
    TheLoaiController tlControl=new TheLoaiController();
    NgonNguController nnControl=new NgonNguController();
    public tmpTaoPhieuMuonController()
    { super();}
    @Override
    public void SetcolumnNames()
    {
        super.columnNames=columnNames;
    }
    
      public int GetLastID()
    {
        if(list.size()!=0)
        return ((DocGia)this.list.get(list.size()-1)).getDocGiaId();
        else return 0;
        
    }
}
